package ustc.xiaoyang.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 学生类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private String no; //学号
    private Short gender;
    private String phone;
    private String idCard;
    private Short isCollege;
    private String address;
    private Short degree;//最高学历，1:初中，2:高中，3:大专，4:本科，5:硕士，6:博士
    private LocalDate graduationDate;
    private Integer clazzId;
    private Short violationCount; //违纪次数
    private Short violationScore;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
